Magic File Renamer - Formatting Parameters
Guide
| <SN> | Serial number, exact formatting fixed at MFR's user's interface |
| <WN> | Whole file name (Prefix+Extension) |
| <FN> | File name without extension (Prefix only) |
| <EXT> | File's extension |
| <P> | File's parent directory name |
| <Px> | File's parent direcotry at level x (where x is a number: 1..9) |
| <DT> | File's date (date is at default format: DD-MM-YY) |
| <DTstr> | File's date, where str is date format string. See Date/Time Format String Guide |
| <TM> | File's time (time is at default format: HH-NN-SS) |
| <TMstr> | File's time, where str is time format string. See Date/Time Format String Guide |
| <SZ> | File's size. Measuring unit (B,KB,MB,GB) is automatic. |
| <SZx> | File's size. Measuring unit is defined by x, where x is one b,k,m,g (for B,KB,MB,GB). Example: <SZk> |
| <LBL> | Disk's label for the disk where the file is located |
| <DRV> | Drive's letter for the drive where the file is located |
| <RND> | Random character between A..Z |
| <RNDxy> | Random character between x..y (x and y are chars, range by ASCII). Example: <RND09> |
| <PRTx> | Part x (x in 1..9) of the filename, where parts are separated by the default char (-) |
| <PRTxy> | Same as <PRTx>, but the separator char is y. Example: <PRT2_> on 'Abba_Dancing Queen.mp3' will result 'Dancing Queen.mp3' |
| <NL> | Current entry (line) from the name list file. First file uses the entry at the first line, etc. Name list file is selected in the formatter section. |
| <MIDs,x,y> | Extract chars from middle of s, positions x to y. s is another format string. Example: <MID<FN>abc<EXT>,3,7> on 'games.exe' will result 'mesab.exe' x and y can also be in the form LENGTH-i (to start from the i-th char from the end of s) Example: <MID<WN>,2,LENGTH-1> on 'games.exe' will result 'ames.ex' |
| <MP3ARTIST> | For MP3 files only. Artist name from the ID3 tag |
| <MP3TITLE> | For MP3 files only. Song title from the ID3 tag |
| <MP3ALBUM> | For MP3 files only. Album name from the ID3 tag |
| <MP3YEAR> | For MP3 files only. Year from the ID3 tag |
| <MP3GENRE> | For MP3 files only. Genre name from the ID3 tag |
| <MP3COMMENT> | For MP3 files only. Comment name from the ID3 tag |
The following format specifiers are supported:
| d | Displays the day as a number without a leading zero (1-31) |
| dd | Displays the day as a number with a leading zero (01-31) |
| ddd | Displays the day as an abbreviation (Sun-Sat) |
| dddd | Displays the day as a full name (Sunday-Saturday) |
| dddddd | Displays the date in long date format |
| m | Displays the month as a number without a leading zero (1-12). If the m specifier immediately follows an h or hh specifier, the minute rather than the month is displayed. |
| mm | Displays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed. |
| mmm | Displays the month as an abbreviation (Jan-Dec) |
| mmmm | Displays the month as a full name (January-December) |
| yy | Displays the year as a two-digit number (00-99). |
| yyyy | Displays the year as a four-digit number (0000-9999). |
| h | Displays the hour without a leading zero (0-23). |
| hh | Displays the hour with a leading zero (00-23). |
| n | Displays the minute without a leading zero (0-59). |
| nn | Displays the minute with a leading zero (00-59). |
| s | Displays the second without a leading zero (0-59). |
| ss | Displays the second with a leading zero (00-59). |
| t | Displays the time in short format. |
| tt | Displays the time in long format. |
| am/pm | ses the 12-hour clock for the preceding h or hh specifier, and displays 'am' for any hour before noon, and 'pm' for any hour after noon. The am/pm specifier can use lower, upper, or mixed case, and the result is displayed accordingly. |
| a/p | Uses the 12-hour clock for the preceding h or hh specifier, and displays 'a' for any hour before noon, and 'p' for any hour after noon. The a/p specifier can use lower, upper, or mixed case, and the result is displayed accordingly. |
| ampm | Uses the 12-hour clock for the preceding h or hh specifier, and displays AM for any hour before noon, and PM for any hour after noon. |